package com.imot.service;

import com.imot.response.Result;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;

/**
 * @Author:Qinning
 * @Date: 2023/11/16  14:24
 * @Version 1.0
 */
public interface FaultDiagnosisService {
    Result faultDiagnosisService(String parameterName, LocalDateTime startTime, LocalDateTime endTime);

    Result getDiagnosisStart(MultipartFile file);

    Result confirmErrorCondition(Integer id);

    Result carryOutLiveCheckup();

    Result getHistoryFault(LocalDateTime startTime, LocalDateTime endTime, Integer page, Integer limit, String faultType, String deviceName);

    Result getHistoricalFaultDiagnosisReports(Integer errorId);

    Result confirmFaultReport(String reportName);

    Result confirmTopFaultStatus();
}
